import Vue from 'vue'
import App from './App.vue'
//引入router路由器
import router from'@/router'
//引入全局组件
import Header from '@/components/Header'
import Footer from '@/components/Footer'
//注册全局组件
Vue.component(Header.name,Header)
Vue.component(Footer.name,Footer)
Vue.config.productionTip = false

new Vue({
    el:'#app',
    router,
    render:h=>h(App)
})